<!DOCTYPE html>
	<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/comm :: head " ></head>
<body>
<div class="wrapper">
	<header th:replace="common/comm :: header "></header>
	<div class="main-panel">
		<div class="content">
<div class="container-fluid">
	<h4 class="page-title">
		<font id="WOW_TRANSLATE_43" class="WOW_TRANSLATE_STYLE"
			data--w-o-w_-i-n-d-e-x="43">招聘管理 > 职位发布明细</font>

	</h4>
	<div class="row">
		<div class="col-md-12">
			<div class="card">

				<div class="card-body">
					<form class="form-inline" th:action="@{'/sys/recruit/'+${attr}+'Save'}"  method="post" >

					<div class="form-group">
						<label for="code"><font> 部门:&nbsp;&nbsp; </font></label>
						<!--<input type="hidden" name="oId" th:value="${organ.id}">-->
						<input type="text" class="form-control"  readonly="readonly" th:value="${organ.shortName}" required="required" oninvalid="setCustomValidity('请选择部门!')" oninput="setCustomValidity('')">
						<small  class="form-text text-muted"></small>
					</div>

						<div  class="form-group">
							<label for="testunit"> 招聘类型: &nbsp;&nbsp; </label>
							<!--<input class="form-control" name="type" value="" required="required" oninvalid="setCustomValidity('请选择招聘类型!')" oninput="setCustomValidity('')" />-->
							<select  class="form-control" name="type"  disabled="disabled" >
								<option th:selected="${rtype.valueId==recruit.type}" th:each="rtype:${rtypes}" th:value="${rtype.valueId}" th:text="${rtype.valueName}" ></option>
							</select>
							<small  class="form-text text-muted"></small>
						</div>

						<div class="form-group">
							<label for="testrange"> 招聘人数:&nbsp;&nbsp; </label>
							<input name="countP" class="form-control" th:value="${recruit.countP}" readonly="readonly"  required="required" oninvalid="setCustomValidity('请填写招聘人数!')" oninput="setCustomValidity('')" />
							<small  class="form-text text-muted"></small>
						</div>

						<div class="form-group">
							<label for="low">职位名称：&nbsp;&nbsp; </label>
							<input type="hidden" name="postId" th:value="${recruit.postId}">
							<input  class="form-control"  th:value="${post.name}" readonly="readonly" required="required" oninvalid="setCustomValidity('请选择职位名称!')" oninput="setCustomValidity('')" />
							<small  class="form-text text-muted"></small>
						</div>


						<div class="form-group">
							<label for="low">职位编码：&nbsp;&nbsp; </label>
							<input  class="form-control" readonly="readonly"  th:value="${post.code}"  />
							<small  class="form-text text-muted"></small>
						</div>

						<div class="form-group">
							<label for="low">职位分类：&nbsp;&nbsp; </label>
							<input  class="form-control"  readonly="readonly" th:value="${postType.valueName}"  />
							<small  class="form-text text-muted"></small>
						</div>

						<div class="form-group">
							<label for="up">登记人: &nbsp;&nbsp; </label>
							<!--<input type="hidden" name="createdById" th:value="${#session.getAttribute('userSession').id}">-->
							<!--<span th:text="${#session.getAttribute('userSession').id}"></span>-->
							 <input    class="form-control" readonly="readonly" th:value="${#session.getAttribute('userSession').username}" required="required"  />
							<small  class="form-text text-muted"></small>
						</div>


						<div class="form-group" >
							<!--<input type="hidden" name="id" th:value="${recruit.id}">-->
							<label for="up">登记时间: &nbsp;&nbsp; </label>
							<input readonly="readonly" class="form-control" th:value="${#dates.format(recruit.createdDate, 'yyyy-MM-dd')}"      />
							<small  class="form-text text-muted"></small>
						</div>

						<div class="form-group">
							<label for="up">截至日期: &nbsp;&nbsp; </label>
							<input id="deadline"  name="deadline" readonly="readonly" th:value="${#dates.format(recruit.deadline, 'yyyy-MM-dd')}"   class="form-control"   required="required"  oninvalid="setCustomValidity('请选择截至日期!')" oninput="setCustomValidity('')" /><!--th:value="${#dates.format(recruit.deadline, 'yyyy-MM-dd')}"-->
							<small  class="form-text text-muted"></small>
						</div>

						<div class="form-group">
							<label for="testrange"> 职位描述:&nbsp;&nbsp; </label>
							<textarea class="form-control" rows="5" cols="105" readonly="readonly" th:text="${recruit.postDescribe}" name="postDescribe"></textarea>
							<small  class="form-text text-muted"></small>
						</div>

						<div class="form-group">
							<label for="testrange"> 招聘要求:&nbsp;&nbsp; </label>
							<textarea class="form-control" rows="5" cols="105" readonly="readonly" th:text="${recruit.require}"  name="require"></textarea>
							<small  class="form-text text-muted"></small>
						</div>



						<p>
							<!--<s:property value="message" />-->
						</p>


						<div class="form-group" style="text-align: center;">
							<input type="submit" class="btn btn-success" name="add" id="ausub" value="提交">
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							<input type="button" th:onclick="'javascript:history.go(-1);'" class="btn btn-danger"  value="返回" >
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>

</div>
		</div>
	</div>
	<footer th:replace="common/comm :: footer "></footer>
</div>
</body>
<!--<script th:inline="javascript">
$("#deadline").attr("value",[[${recruit.deadline}]]);
</script>-->
<!--<script type="text/javascript" th:src="@{/js_hr/recruit/recruitList.js}"></script>-->
</html>